<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/commons/taglibs.jsp"%>
<link href="${ctx}/resources/css/pagination.css" rel="stylesheet" type="text/css">
<div class="title"><span><a href="#">旅游申请记录</a></span></div>
			<div class="content cf">
				<div class="tour_box">
					<table id="table" class="table center">
						<thead>
							<tr>
								<th width="100">申请旅游线路</th>
								<th width="70">申请时间</th>
								<th width="30">状态</th>
								<th width="40">操作</th> 
							</tr>
							<tr>
							</tr>
						</thead>
						<tbody>
						<c:forEach var="recode" items="${pageData.result}">
							<tr>
								<td title="${recode.lineInfo.lineName } ">
								     <a target="_blank" href="${recode.lineInfo.lineLink } ">
								  <c:choose>
								   <c:when test="${fn:length(recode.lineInfo.lineName ) > 20}">
						         	 	${fn:substring(recode.lineInfo.lineName ,0,20)}...
						         	</c:when>
						         	<c:otherwise>
						         		${recode.lineInfo.lineName }
						         	</c:otherwise></c:choose>  </a>
								</td>
								<td><fmt:formatDate value="${recode.applyDate }" pattern="yyyy-MM-dd"></fmt:formatDate></td>
								<td>
								<c:if test="${recode.state == 0}">未审核</c:if>
								<c:if test="${recode.state == 1}">审核通过</c:if>
								<c:if test="${recode.state == 2}">审核未通过</c:if>
								</td>
								<td><a href="javascript:findRecord('${recode.id}',${pageData.pagination.pageNo})" title="栏目对接中">查看</a></td> 
							</tr>
						</c:forEach>
						</tbody>
					</table>
					<div class="page page_table">
						${pagination}
					</div>
				</div>
			</div>


